package org.snail.attendence.service.manager;

import lombok.extern.log4j.Log4j;
import org.snail.attendence.bean.AliWorkDTO;
import org.snail.attendence.service.push.AttendenceInfoPushService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
@Log4j
public class AttendanceInfoManager {
    @Autowired
    private AttendenceInfoPushService attendenceInfoPushService;

    public void  saveAttendance(List<AliWorkDTO> aliWorkDTOs){
        //保存考勤
        attendenceInfoPushService.push(aliWorkDTOs);
    }
}